﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CMS.BLL;

public partial class news_msn_BussinessProfileListDelete : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!this.IsPostBack)
        {
            long id = long.Parse(Request["id"]);
            string stock=Request["stock"];
            string enddate=Request["enddate"];
            BussinessProfileListBLL bll = new BussinessProfileListBLL();
            bll.Delete(id);
            ClientScript.RegisterStartupScript(GetType(), "aa", "alert('删除成功');document.location='BussinessProfileList.aspx?stock=" + stock + "&enddate=" + enddate + "'",true);
        }
    }
}